Method and apparatus for graphically displaying compatible workflow steps

ABSTRACT

A method, apparatus, and computer program product for graphically presenting compatible workflow steps to a user through a graphical user interface are disclosed. The method includes graphically displaying a plurality of steps in a workflow. A user&#39;s selection for at least one step in a plurality of steps to denote at least one selected step and at least one non-selected step is received. The method further includes determining if a set of one or more output parameters of the selected step is acceptable as an input of the non-selected step. An appearance of the non-selected step is graphically changed if the output parameters are acceptable. The method also includes determining if a set of one or more output parameters of the non-selected step is acceptable as an input of the selected step. An appearance of the non-selected step is graphically changed if the output parameters are acceptable.

CROSS REFERENCE TO RELATED APPLICATION

This application is related to the inventors' application “SYSTEM ANDMETHOD FOR MANAGING WORKFLOW EXECUTION IN A DISTRIBUTED SYSTEM,” Ser.No. ______, now______, which was filed on the same day as the presentapplication and commonly assigned herewith to International BusinessMachines Corporation. This related application is incorporated herein byreference in its entirety.

FIELD OF THE INVENTION

The present invention generally relates to the field of workflows, andmore particularly relates to managing workflow steps through a userinterface.

BACKGROUND OF THE INVENTION

Workflow is among the most highly investigated problems in distributedcomputing and many complete workflow systems exist. However, theseworkflow systems execute jobs in a homogeneous way. For example, BPEL4WSis a workflow specification for orchestrating Web Service invocations inorder to realize a workflow. IBM's LoadLeveler is a high performancecomputing job scheduler that can orchestrate workflows running onclusters of machines connected by a network. Lotus Workflow is a systemfor orchestrating workflow where the jobs are performed by userapplications on personal workstations and orchestrated via a documentmanagement system.

Although useful, these workflow systems are not without theirdeficiencies, drawbacks, and problems. For example, these workflowsystems cannot orchestrate workflow where the job steps involved arehigh performance computing applications, web services, and userapplications. In addition, advanced fields such as Cancer researchrequire workflows involving the participation of laboratory equipment.

Workflow systems sometimes provide user interfaces for user interactionwith the workflow. However, these user interfaces are often difficult touse when trying to find compatible input and output parameters forworkflow steps. For example, in a semantic data application, where adata object in the system might represent any number of differentsemantic data types, it is not always possible for a user to easilydetermine which parts of an application can provide and or accept thedata objects when they are involved in a drag and drop operation.Current user interfaces utilizing drag and drop features, show a userwhich parts of the application can accept or provide a data object bychanging the mouse icon when the a data object is dragged over differentparts of the application. The drawback of this type of system, is thatthe user must first drag the data object to all possible parts of anapplication to determine which parts of the application are validreceptors of the drag and drop operation.

Therefore a need exists to overcome the problems with the prior art asdiscussed above.

SUMMARY OF THE INVENTION

Briefly, in accordance with the present invention, disclosed are amethod, apparatus, and computer program product for graphicallypresenting compatible workflow steps to a user through a graphical userinterface are disclosed. The method includes graphically displaying aplurality of steps in a workflow. A user's selection for at least onestep in plurality of steps to denote at least one selected step and atleast one non-selected step is received. The method further includesdetermining if at least one of a set of one or more output parameters ofthe selected step is acceptable as an input of the non-selected step ofthe workflow. In response to the set of one or more output parameters ofthe selected step being acceptable, an appearance of the non-selectedstep is graphically changed. The method also includes determining if aset of one or more output parameters of the non-selected step isacceptable as an input of the selected step. In response to the set ofone or more output parameters of the non-selected step being acceptable,an appearance of the non-selected step is graphically changed.

In another embodiment of the present invention, a user interface forgraphically presenting compatible workflow steps to a user is disclosed.The user interface comprises at least one window for graphicallydisplaying a plurality of steps in a workflow. At least a first visualindicator for denoting a user's selection of at least one step in theplurality of steps and non-selection of at least one remaining step inthe plurality of steps is also included. At least a second visualindicator is also included. The second visual indicator is forindicating that a set of one or more output parameters of the selectedstep is acceptable as an input of the non-selected step of the workflow.The appearance of the non-selected step is graphically changed inresponse to the set of one ore more output parameters of the selectedstep being acceptable.

The second visual indicator is also for indicating that a set of one ormore output parameters of the non-selected step is acceptable as aninput of the selected step. The appearance of the non-selected step isgraphically changed in response to the set of one or more outputparameters of the non-selected step being acceptable.

In yet another embodiment of the present invention, a computer programproduct for graphically compatible workflow steps to a user through agraphical user interface is disclosed. The computer program productincludes graphically displaying a plurality of steps in a workflow. Auser's selection for at least one step in plurality of steps to denoteat least one selected step and at least one non-selected step isreceived. Further instructions are included for determining if at leastone of a set of one or more output parameters of the selected step isacceptable as an input of the non-selected step of the workflow. Inresponse to the set of one ore more output parameters of the selectedstep being acceptable, an appearance of the non-selected step isgraphically changed. The method also includes determining if a set ofone or more output parameters of the non-selected step is acceptable asan input of the selected step. In response to the set of one or moreoutput parameters of the non-selected step being acceptable, anappearance of the non-selected step is graphically changed.

An advantage of the foregoing embodiment is that a user is able to use aworkflow user interface to manage a workflow. When a workflow step isselected all of the compatible steps that can accept its output orprovide an input are automatically displayed. A user does not have todrag a particular workflow step over the other steps to find out whichsteps can accept the output of the particular workflow step. The userinterface provides a user with visual feedback or cures that helpidentify compatible inputs and outputs.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying figures where like reference numerals refer toidentical or functionally similar elements throughout the separateviews, and which together with the detailed description below areincorporated in and form part of the specification, serve to furtherillustrate various embodiments and to explain various principles andadvantages all in accordance with the present invention.

FIG. 1 is block diagram illustrating an exemplary workflow managementsystem according to an embodiment of the present invention;

FIG. 2 is a block diagram illustrating an exemplary informationprocessing according to an embodiment of the present invention

FIG. 3 is an exemplary annotated listing of Resource DescriptionFramework triples that correspond to a workflow;

FIG. 4 is a block diagram illustrating an exemplary workflow userinterface according to an embodiment of the present invention;

FIG. 5 is a block diagram illustrating the exemplary workflow userinterface according to another embodiment of the present invention;

FIG. 6 is a block diagram illustrating the exemplary workflow userinterface according to another embodiment of the present invention;

FIG. 7 is an input/output flow diagram illustrating the input/outputrelationship between steps of a workflow according to an embodiment ofthe present invention;

FIG. 8 is an operational flow diagram illustrating an exemplary processof a central storage system maintaining a workflow according to anembodiment of the present invention;

FIG. 9 is an operational flow diagram illustrating an exemplary processof a participant of a workflow interacting with the workflow accordingto an embodiment of the present invention;

FIG. 10 is an operational flow diagram illustrating an exemplary processof a graphically displaying workflow steps and their compatibility foraccepting each others output through a user interface according to anembodiment of the present invention;

FIG. 11 is an operational flow diagram illustrating an exemplary processof a determining which workflow steps can accept an output of anotherworkflow step according to an embodiment of the present invention;

FIG. 12 is an operational flow diagram illustrating an exemplary processof a visually indication which workflow steps can provide a compatibleinput for the selected workflow step, according to an embodiment of thepresent invention.

DETAILED DESCRIPTION

As required, detailed embodiments of the present invention are disclosedherein; however, it is to be understood that the disclosed embodimentsare merely exemplary of the invention, which can be embodied in variousforms. Therefore, specific structural and functional details disclosedherein are not to be interpreted as limiting, but merely as a basis forthe claims and as a representative basis for teaching one skilled in theart to variously employ the present invention in virtually anyappropriately detailed structure. Further, the terms and phrases usedherein are not intended to be limiting; but rather, to provide anunderstandable description of the invention.

The terms “a” or “an”, as used herein, are defined as one or more thanone. The term plurality, as used herein, is defined as two or more thantwo. The term another, as used herein, is defined as at least a secondor more. The terms including and/or having, as used herein, are definedas comprising (i.e., open language). The term coupled, as used herein,is defined as connected, although not necessarily directly, and notnecessarily mechanically. The terms program, software application, andthe like as used herein, are defined as a sequence of instructionsdesigned for execution on a computer system. A program, computerprogram, or software application may include a subroutine, a function, aprocedure, an object method, an object implementation, an executableapplication, an applet, a servlet, a source code, an object code, ashared library/dynamic load library and/or other sequence ofinstructions designed for execution on a computer system.

The present invention, according to an embodiment, overcomes problemswith the prior art by orchestrating a workflow in a non-centralizedfashion. In other words, a single program is not continuallyorchestrating the workflow. Another advantage of the present inventionis that a system can orchestrate workflows involving diverse types ofprocesses in a highly distributed environment. For example, job stepsinvolving high processing computer applications, web services, userapplications, and laboratory equipment are able to be integrated andexecute a workflow.

Another advantage of the present invention is that a user is able to usea workflow user interface to manage a workflow. When a workflow step isselected all of the compatible steps that can accept its output orprovide an input are automatically displayed. A user does not have todrag an input connector or an output connector over each step to findout which steps can accept the output. The user interface provides auser with visual feedback or cures that help identify compatible inputsand outputs.

Exemplary Workflow Management System

According to an embodiment of the present invention, as shown in FIG. 1,an exemplary workflow management system 100 is illustrated. FIG. 1 showsa system 100 comprising Participant A 102, Participant B 104,Participant C 106, Participant D 108, Participant E 110, a centralstorage system 112, and a network 114. A participant, in one embodiment,is an information processing system or a plurality of informationprocessing System communicatively coupled together to perform one ormore steps of a workflow. A workflow, for example, is one or moreinterrelated steps that are distinct and where the output of one stepcan be the input of another step. In another embodiment, a participantis laboratory equipment communicatively coupled to an informationprocessing system. Each participant includes at least one resource suchas processing capabilities, algorithms, or the like that are needed toperform the one or more steps of the workflow. For example, in oneembodiment, Participant A 102 provides a high performance computing/gridenvironment comprising a plurality of information processing systems.The plurality of information processing systems, for example,concurrently executes one or more workflow steps that requiresignificant computation. Participant B 104, in one embodiment, is anotebook computer allowing human interaction such as output verificationin real time.

Participant C 106, in one embodiment, is a workstation comprisingprograms made available by the user of the workstation to be used asworkflow steps. Participant D 108, for example, is laboratory equipmentused for scientific workflows and interacts with the system 100 throughan information processing system. Participant E 110, in one embodiment,is a web services invoker that is used to invoke web services on behalfof the users of the Participant E 110 information processing system.Each participant 102, 104, 106, 108, 110 communicates with the centralstorage system 112 through the network 114. The network 114, accordingto one embodiment, is a LAN, WAN, World Wide Web, wired, wirelessnetwork, or the like.

Each participant 102, 104, 106, 108, 110 includes a workflow analyzer116, 118, 120, 122, 124, a workflow updater 126, 128, 130, 132, 134, anda workflow user interface 136, 138, 140, 142, 144, which will bediscussed in greater detail below. The central storage system 112includes a workflow database 146, a workflow information transceiver148, and a workflow updater 150. In one embodiment, the central storagesystem 112 is a resource description framework (“RDF”) storage system.In another embodiment, the central storage system 112 is an extensiblemarkup language (“XML”) storage system. The workflow database 146, forexample, is a file such as a relational database or an object orienteddatabase that backs the central storage system 112. The workflowdatabase 146, in one embodiment, publishes updates associated withworkflows in the database 146 using a high performance publish/subscribesystem such as a Collections, ACLS, Replication, and Transaction system(“CART”). CART is an implementation of an RDF-based central storagesystem such as the central storage system 112. In a CART system eachtriple <subject><predicate><object> may be placed in zero or morecollections for the purpose of identification and subscription inpublication-subscription services.

An ACL is an access control list. Each triple or collection has anaccess control list that determines who can read/modify the triple.Client's of CART write their data first to a local memory or file store.The data may then be replicated to the central storage system 112, andnew data is pulled down based on subscription. In one embodiment of thepresent invention, a client-pull rather than a server push is used toretrieve the data. In another embodiment of the present invention, botha client-pull and a server push are used to retrieve the data. Each timea client of CART submits data to the central storage system 112, theupdates are processed as a transaction so that any conflicts with otherusers are resolved or errors are raised.

In one embodiment, the central storage system stores RDF. For example,the central storage system 112 stores OWL-S, which is a set of RDFontologies created using the Ontology Web Language (“OWL”) that defineshow workflows are embodied in RDF. For example, if a particular step ofa workflow outputs an image, that step commits the image itself to adata storage system (not shown), and provides the RDF central storagesystem with a link or pointer to the actual data to be stored with theworkflow image. These links or pointers, in one embodiment, are filepaths in the case of a distributed file system or HTTP/FTP URL's whenthe data storage system (not shown) is a Web Server. In anotherembodiment, a life science identifier (“LSID”) is used. A LSID uniquelyidentifies and resolves pieces of data that are used or created in aworkflow. LSIDs were initially developed for the Life Sciences communitybut can be easily applied in any data-needy domain. The data storagesystem (not shown) that assigns LSIDs to data (and in tern providestheir resolution) is called a dynamic data repository (“DDR”).

The workflow transceiver 148 transmits and receives workflowinformation. For example, workflows and workflow updates that aretransmitted by the participants 102, 104, 106, 108, 110 are received atthe central storage system 112 by the workflow information transceiver148. In one embodiment, the workflow information transceiver is ageneral purpose RDF storage service. The workflow informationtransceiver 148 also transmits notifications to the participants 102,104, 106, 108, 110 when a workflow is updated. A workflow is updated,for example, when a step of the workflow is completed. The workflowupdater 150 updates a workflow in the workflow database 146 based oninformation received by the workflow information transceiver 148. Theworkflow database 146 also includes at least one record 152 for eachworkflow managed by the workflow database 146. The workflow databaserecord 152 will be discussed in greater detail below.

Exemplary Information Processing System

FIG. 2 is a block diagram illustrating a more detailed view of theParticipant A 102 information processing system according to anembodiment of the present invention. Although the following discussionis with respect to the Participant A 102 information processing system,the following discussion is also applicable to each of the informationprocessing systems used as a participant or communicatively coupled to aparticipant of a workflow as shown in FIG. 1. The Participant A 102information processing system is based upon a suitably configuredprocessing system adapted to implement the exemplary embodiment of thepresent invention. Any suitably configured processing system issimilarly able to be used as the Participant A 102 informationprocessing system by embodiments of the present invention, for example,a personal computer, workstation, or the like. The Participant A 102information processing system includes a computer 202. The computer 202has a processor 204 that is connected to a main memory 206, mass storageinterface 208, terminal interface 210, and network adapter hardware 212.A system bus 214 interconnects these system components. The mass storageinterface 208 is used to connect mass storage devices, such as datastorage device 216, to the Participant A 102 information processingsystem. One specific type of data storage device is a computer readablemedium such as a floppy disk drive, which may be used to store data toand read data from a floppy diskette 218 or CD (not shown). Another typeof data storage device is a data storage device configured to supportNTFS type file system operations.

The main memory 206 comprises the workflow analyzer 116. The workflowanalyzer 116 analyzes the workflow in the central storage system 112.For example, a participant subscribes to the central storage system 112.Each step in a workflow that is stored in the central storage system 112identifies a particular location/participant where the step is to beexecuted. As a subscriber, the participant recognizes that it is aparticipant of a workflow and the workflow analyzer 116 analyzes theworkflow to determine which steps of the workflow are currentlyexecutable at its location. The workflow analyzer 116 also analyzes aworkflow after the Participant A 102 information processing systemreceives a notification from the central storage system 112 that theworkflow has been updated.

The main memory 206 also includes the workflow updater 126. The workflowupdater 126 transmits workflow update information to the central storagesystem 112. Workflow update information, in one embodiment, includesoutput data from a completed step; a notification that a particular stephas been completed; and the like. The main memory also comprises aworkflow user interface 136. The workflow user interface 136 allows auser at the Participant A 102 information processing system to interactwith one or more subscribed to workflows. For example, the workflow userinterface 136, in one embodiment, indicates visually, the inputs andoutputs of the steps that may be wired together.

The Participant A 102 information processing system also includes a jobscheduler (not shown) such as IBM's Load Leveler in the main memory 206.The job scheduler (not shown), among other things, allows multipleworkflow steps to be performed on the Participant A 102 informationprocessing system. In one embodiment, the main memory 206 also includesa workflow language interpreter (not shown) such as an OWL-Sinterpreter, a BPEL4WS interpreter, or the like. The workflow languageinterpreter (not shown) allows the workflow analyzer 136 to determinewhat workflow steps are next in the workflow. The workflow languageinterpreter (not shown) also allows the workflow analyzer 136 todetermine if the steps of the workflow are bound to the current locationand if they can be executed under one or more identities of theParticipant A 102.

The identity of a participant, in one embodiment, is the username underwhich a particular participant interacts with the central storage system112, for example, CART. The identity of a participant is also used asthe login in the embodiment where a DDR data store is performed. Aworkflow, in one embodiment, identifies the identity under which a stepis executable. For example, a first user of the information processingsystem may make certain resources available for the workflow while asecond user may not.

An application 220 such as an application needed for executing aworkflow step is also included in the main memory 206. The application220, for example, is running or waiting to be executed. Althoughillustrated as concurrently resident in the main memory 206, it is clearthat respective components of the main memory 206 are not required to becompletely resident in the main memory 206 at all times or even at thesame time. In one embodiment, the server1 106 utilizes conventionalvirtual addressing mechanisms to allow programs to behave as if theyhave access to a large, single storage entity, referred to herein as acomputer system memory, instead of access to multiple, smaller storageentities such as the main memory 206 and data storage device 216. Notethat the term “computer system memory” is used herein to genericallyrefer to the entire virtual memory of the Participant A 102 informationprocessing system.

Although only one CPU 204 is illustrated for computer 202, computersystems with multiple CPUs can be used equally effectively. Embodimentsof the present invention further incorporate interfaces that eachincludes separate, fully programmed microprocessors that are used tooff-load processing from the CPU 204. Terminal interface 210 is used todirectly connect one or more terminals 222 to computer 202 to provide auser interface to the server1 106. These terminals 222, which are ableto be non-intelligent or fully programmable workstations, are used toallow system administrators and users to communicate with theParticipant A 102 information processing system. The terminal 222 isalso able to consist of user interface and peripheral devices that areconnected to computer 202 and controlled by terminal interface hardwareincluded in the terminal I/F 210 that includes video adapters andinterfaces for keyboards, pointing devices, and the like.

An operating system (not shown) included in the main memory is asuitable multitasking operating system such as the Linux, UNIX, WindowsXP, and Windows Server 2003 operating system. Embodiments of the presentinvention are able to use any other suitable operating system. Someembodiments of the present invention utilize architectures, such as anobject oriented framework mechanism, that allows instructions of thecomponents of operating system (not shown) to be executed on anyprocessor located within the server1 106.

The network adapter hardware 212 is used to provide an interface to thenetwork 114. Embodiments of the present invention are able to be adaptedto work with any data communications connections including present dayanalog and/or digital techniques or via a future networking mechanism.

Although the exemplary embodiments of the present invention aredescribed in the context of a fully functional computer system, thoseskilled in the art will appreciate that embodiments are capable of beingdistributed as a program product via floppy disk, e.g. floppy disk 218,CD ROM, or other form of recordable media, or via any type of electronictransmission mechanism.

Exemplary Annotated Listing of Resource Description Framework Triples

FIG. 13 illustrates an exemplary annotated listing of ResourceDescription Framework triples that correspond to a workflow. Forexample, FIG. 3 shows the RDF triples for a workflow that is about to beexecuted. As each step is executed, as described will be describedbelow, each participant 102, 104, 108, 108, 110 submits updates. Theworkflow updater 126 updates the RDF triples accordingly.

Exemplary Workflow User Interface

FIG. 4, FIG. 5, and FIG. 6 illustrate an exemplary workflow userinterface 136 according to an embodiment of the present invention. FIG.4 illustrates a workflow user interface 136 for graphically displayingcompatible inputs and outputs of steps can be wired together. Theworkflow user interface 136, among other things, visually represents aworkflow. A user can create/delete workflow steps, track the progress ofthe workflow, manipulate workflow steps, add/change input, and outputparameters of a workflow step, and the like through the workflow userinterface 136.

The workflow user interface 136 includes a window 402 for displayingvarious components of the interface 136. For example, the steps 404,406, 408, 410 of a selected workflow are graphically displayed in thewindow 402. FIG. 4 shows a workflow comprising Step A 404, Step B 406,Step C 408, and Step N 410. The steps 404, 406, 408, 410 are representedgraphically by a box. In another embodiment, the steps 404, 406, 408,410 are represented graphically by an icon, picture, or the like. In oneembodiment, inputs and outputs of a step are also graphicallyrepresented in the interface 136. For example, input boxes 412, 414,416, 418 and output boxes 420, 422, 424, 426 are included in each step404, 406, 408, 410. Although only one input/output box is shown in FIG.4, each input/output connector can represent zero or more inputs oroutputs, respectively.

The workflow user interface 136 allows a user to select one or more ofthe graphically represented steps 404, 406, 408, 410. When a userselects a step 404, 406, 408, 410, the appearance of the selected stepis visually altered. For example, Step A 404 is selected in FIG. 4 andhas a solid outlined box 428 surrounding the box representing Step A404. In another embodiment, one or more colors are used to representselected and non-selected steps. In an alternative embodiment, the boxrepresenting Step A 404 is resized, shaded, changed to a new graphic, orthe like to visually indicate to a user that the step has been selected.

After a user has selected a step, each step in the workflow that canaccept the output of the selected step is also visually identified tothe user. For example, in FIG. 4, Step C 408 is the only step that canaccept the output of Step A 404. Therefore, the box representing Step C406 has a dashed box 430 surrounding it to visually indicate to the userthat Step C 408 can accept the output of Step A 408. In anotherembodiment, one or more colors are used to represent that a step canaccept an output of another step. Different colors represent the typeand strength of compatibility between the output of a step and whatinput can be accepted at another step. For example, a first color canrepresent a strong compatibility and a second color can represent aweaker compatibility.

The strength of the compatibility, in one embodiment, is a function ofanalyzing the outputs and inputs of the steps as well as other metadatain the workflow system. For example, connection precedence, metadatabetween workflow steps such as organization, author, licenses, and thelike are analyzed to determine the strength of compatibility. In analternative embodiment, the box representing Step C 408 is resized,shaded, changed to a new graphic, or the like to visually indicate to auser that the step can accept the output of Step A 408. In anotherembodiment, the strength of the compatibility is based on a number ofconnection matches. For example, the percentage of inputs/outputs thatare themselves compatible. In another embodiment, the strength of thecompatibility is also based on the number of previous times theseworkflow steps have been wired together. This data, for example, can bequeried in the central storage system 112.

In an alternative embodiment, a user drags a pointer (not shown) overthe graphic representing a step or an output box 420, 422, 424, 426 of astep 404, 406, 408, 410. The steps that can accept the output of thecurrently pointed to step are visually altered. For example, the graphicrepresenting a step that can accept the output is resized, shaded,changed to a new graphic, or the like to visually indicate the abilityto accept the output. In another embodiment, as the user drags thepointer (not shown) over an output box of a step, the type outputgenerated by the step and/or a description of the output is displayed tothe user.

FIG. 5 shows one embodiment of the user interface after the output ofStep A 404 has been selected to be the input of Step C 408. The workflowuser interface 136 allows a user to select an output of a step and draga connector over to an input of a step that can accept the output. Forexample, FIG. 5 shows a connector 502 connecting the output box 420 ofStep A 404 to the input box 416 of Step C 408. The connector 502, in oneembodiment, includes a color representing the type and strength ofcompatibility between the output of Step A 402 the acceptable input ofStep C 408 as described above with reference to FIG. 4.

FIG. 6 illustrates the workflow user interface 136 according to anotherembodiment of the present invention. FIG. 6 illustrates the workflowuser interface 136 for showing a user available workflow steps withinthe application and outside the application. FIG. 6 shows the window 402for displaying various components of the interface 136. For example, thesteps 404, 406, 408, 410 of a selected workflow are graphicallydisplayed in the window 402. FIG. 6 shows a workflow comprising a Step A404, a Step B 406, a Step C 408, and a Step N 410 each step including aninput 412, 414, 416, 418 and an output 420, 422, 424, 426.

A user can select any of the available workflow steps in the window 614and add the steps to the workflow workspace 616. The same workflow stepscan be added to the workflow workspace 616 more than once. In oneembodiment a user selects a workflow step for identifying which of thenon-selected workflow steps can provide an input to the selected step.For example, the user selects the graphic representing Step B 406, whichis then highlighted by a box 602 as described above with reference toFIG. 4. If any of the remaining steps can provide an input to Step B406, the graphic representing those steps is visually altered (asdescribed above with reference to FIG. 4) to indicate this.

The workflow steps in one embodiment, are part of another applicationresiding on the information processing system being used by the user orcommunicatively coupled to the user information processing systemthrough a network. For example, the user interface 136 can show theworkflow steps from a life sciences application for accepting imagesfrom a microscope residing on the user information processing system. Inone embodiment, all currently opened workflow steps in an applicationare searched for and displayed to the user through the user interface136.

Exemplary Workflow Input/Output Flow Diagram

FIG. 7 illustrates an exemplary input/output flow diagram according toan embodiment of the present invention. FIG. 7 shows a Step E 702, aStep F 704, and a Step N 706. In this embodiment, Step E 702 has asingle input 708 and generates a plurality of outputs 710, 712, 714. Forexample, Step E 702 can perform multiple actions upon a single input togenerate one or more outputs. The input 708, in this embodiment is apredefined input. For example, the author of workflow Step E 702submitted a predefined value for the input 708 of Step E 702 when theworkflow was submitted to the central storage system 112. In anotherembodiment, after the workflow is submitted, but before its execution,an input value can be entered for a step. In an alternative embodiment,the input 708 is an output of another step.

Output 710, for example, is an intermediary value that is stored forverification or later use. For example, a user may retrieve the output710 and verify its value to ensure the workflow is executing properly.The second and third outputs 712, 714 of Step E 702 are used as inputsfor Step F 704. Step F also has a predefined input 716. Step F 704produces two outputs 718, 720. One output 718 is used as an intermediaryvalue and the other output is used as an input for another step. Step N706 includes two predefined inputs 722, 724 which result in one output726. The output 726 of Step N 706 in one embodiment is an intermediaryvalue in this embodiment. If Step N 706 is the final step in theworkflow, the output 726 is the final result of the workflow.

Exemplary Process of Sending Participants of a Workflow InformationRegarding the Workflow

FIG. 8 is an operational flow diagram illustrating an exemplary processof communicating workflow information to participants of the workflow bythe central storage system 112. The operational flow diagram of FIG. 8begins at step 802 and flows directly to step 804. The central storagesystem 112, at step 804, receives a workflow from a workflowparticipant. In another embodiment, the workflow is submitted by a useron an information processing machine which is not a participant of theworkflow. The central storage system 112, at step 806, enters theworkflow into the workflow database 146 where a record 152 is createdfor the entered workflow. The received workflow, for example, includes alist of participants for the workflow and any predefined values for thesteps of the workflow.

A subscriber to the central storage system 112, at step 808, isidentified as a participant of a workflow and receives information aboutthe workflow. For example, a participant subscribes to the centralstorage system 112. Each step in a workflow that is stored in thecentral storage system 112 identifies a particular location/participantwhere the step is to be executed. A participant is selected by a creatorof a workflow step, in one embodiment, based on the ability to perform astep, location, and identity of the participant. After each participantexecutes a step of the workflow, the workflow information transceiver148, at step 810, receives workflow updates from each participant. Forexample, the update information, in one embodiment, includes completedstatus identifier, output values generated by completing the step, andthe like. In another embodiment, workflow update information is receivedwhen a participant manipulates a workflow step. A participant, forexample, can change the input parameters for the step.

The workflow updater 150, at step 812, updates the workflow database 146based on the received updates from the participants. The central storagesystem 112, at step 814, determines if the workflow is completed. Forexample, when a participant completes a workflow step it queries thecentral storage system 112 to determine if the completed step was thelast step of the workflow. If the participant determines that theworkflow is completed, it transmits information to the central storagesystem 112 identifying the workflow as being completed. In other words,the participant flags the workflow as being completed. The centralstorage system receives this information from the participant anddetermines that the workflow is complete.

If the result of this determination is positive, the central storagesystem 112, at step 816, notifies each participant that the workflow hasbeen completed. The control then exits at step 818. If the result ofthis determination is negative, the central storage system 112, at step820, notifies the participants that the workflow has been updated. Thecentral storage system 112 continues to receive workflow updates fromthe participants until the workflow has been completed. In an embodimentwhere the central storage system 112 is an RDF central storage system,the workflow retained in the central storage system 112 can be modifiedafter it has been completed. For example, a human user can addadditional RDF statements commenting on the success of the workflow. Theparticipants of the work flow are then be notified of these changes.

Exemplary Process of Managing a Workflow

FIG. 9 is an operational flow diagram illustrating an exemplary processof at least one workflow step by a participant of the workflow. Theoperational flow diagram of FIG. 9 begins at step 902 and flows directlyto step 904. A workflow participant such as Participant A 102, at step904, is identified as a participant of a workflow. Each participant 102,104, 106, 108, 110, at step 906, performs a pull operation to obtain theworkflow from the central storage system 112. The workflow, at step 908,is then analyzed by each participant 102, 104, 106, 108, 110. Eachparticipant 102, 104, 106, 108, 110, at step 910, then determines if anyof the steps associated with the respective participant can be currentlyperformed.

If the result of this determination is negative, the participant, atstep 912, waits for another notification from the central storage system112. If the result of this determination is positive the participant, atstep 914, executes the workflow step. For example, in an exemplary lifesciences workflow, Participant D 108 is laboratory equipment such as amicroscope that is coupled to an information processing system. Theworkflow step to be performed by Participant D 108 is to submit an imagefor processing. After a participant 102, 104, 106, 108, 110 executes oneor more steps, the participant, at step 916, transmits workflow updateinformation to the central storage system 112. For example, ParticipantD transmits update information in using RDF language including a pointerto the image that is to be processed.

The participants 102, 104, 106, 108, 110, at step 918, receive anotification from the central server 112 informing the participants 102,104, 106, 108, 110 that the workflow has been updated. The participants102, 104, 106, 108, 110, at step 920 determine if the workflow has beencompleted based on the update information sent by the central storagesystem 112. If the result of this determination is positive, the controlflow exits at step 922. If the result of this determination is negativethe control flows to step 906 where the participants 102, 104, 106, 108,110 download the workflow. For example, after the workflow is updated bythe central server 112 to reflect the execution of a step by ParticipantD, the participants are notified and determine if any of the remainingsteps of the workflow can be currently executed.

Participant A 102, in one embodiment, is a high performance computingenvironment and uses an algorithm submitted by, for example, ParticipantC 106 for processing the image submitted by Participant D 108. Theprocessing of the image by Participant A 102 and the submission of analgorithm by Participant C 106, in one embodiment, are separate steps ofthe workflow. For example, Participant A 102 determines that it canprocess the image only if the algorithm has been submitted byParticipant C 106. Participant A uses both the image and algorithm asits inputs. Participant E 110, in one embodiment, are web services suchas services for life sciences data that can also be used by ParticipantA 102 for processing the image submitted by Participant D 108. AfterParticipant A 102 processes the image and submits its update informationto the central storage system 112, Participant B 104, for example,determines that it can perform the workflow step associated with it. Forexample, Participant B 104 is a personal computer that allows a human toverify the results of Participant A 102. Once the verification processis completed by Participant B 104, Participant B 104 submits its updateinformation to the central storage system 112, which determines that theworkflow is completed.

One advantage of the present invention is that a workflow can beorchestrated in a non-centralized fashion. In other words, a singleprogram is not continually orchestrating the workflow. Another advantageof the present invention is that a system can orchestrate workflowsinvolving diverse types of processes in a highly distributedenvironment. For example, job steps involving high processing computerapplications, web services, user applications, and laboratory equipmentare able to be integrated and execute a workflow.

Exemplary Process of Providing Workflow Management Through a WorkflowUser Interface

FIG. 10 and FIG. 11 are operational flow diagrams illustrating anexemplary process of at providing graphical management of a workflow toa user through a workflow user interface 136. The operational flowdiagram of FIG. 10 begins at step 1002 and flows directly to step 1004.The workflow user interface 136, at step 1004, graphically displayssteps of a workflow. For example, the steps are displayed as boxes orany other shape, picture, icon, or the like. The user interface 136, atstep 1006, receives a user's selection of at least one workflow step.For example, a user can user a mouse pointer to click on a boxrepresenting a workflow step thereby selecting it.

The output, at step 1008, of the selected step is analyzed to determineif it can be used as an input of at least one of the non-selected steps.If the result of this determination is negative, the user interface 136,at step 1010, displays a message to the user stating that the output ofthe selected workflow step cannot be used as an input of thenon-selected steps. The control flow then exits at step 1012. If theresult of this determination is positive, the non-selected workflowstep, at step 1014, is graphically changed to indicate that it canaccept the output of the selected step.

For example, in one embodiment, workflow steps are registered with thecentral storage system 112. This registration process tells the centralstorage system 112 the data types the workflow step provides and canaccept. In one embodiment, when a user selects a workflow step throughthe user interface 136, a notification is sent to the central storagesystem 112. The central storage system notifies all the registeredworkflow steps that a selection of a certain data type has been made,and those workflow steps can visually change their user interface toshow the user that they can either accept or not accept the selecteddata type. For example, the shape, icon, or picture representing thenon-selected workflow step is changed, resized, shaded, or painted witha different color. The operational flow then exits at step 1016.

FIG. 11 illustrates a more detailed process of determining thecompatibility of using an output of one workflow step as an input ofanother workflow step. The operational flow diagram of FIG. 11 begins atstep 1102 and flows directly to step 1104. The output of a selectedworkflow step, at step 1104, is analyzed to determine whether it can beused as an input of a non-selected step. If the result of thisdetermination is negative, the user, at step 1106, is notified that theoutput cannot be used as an input of another workflow step. The controlflow then exits at step 1108. If the result of this determination ispositive, the output type of the selected step, at step 1110, iscompared with the input type of the non-selected workflow step. Also,metadata associated with the output of the selected workflow step, atstep 1112, is compared with metadata associated with the input of thenon-selected step. In one embodiment, connection precedence and metadatasuch as organization, author, license, and the like are compared.

A compatibility strength, at step 1114, is determined from thecomparisons of steps 1110 and 1112 between the output of the selectedstep and the input of the non-selected step. If the compatibility isdetermined to be high, at step 1116, a connection line 502 between theoutput of the selected workflow step and the input of the non-selectedstep, at step 1118, is changed to a first color representing highcompatibility. If the compatibility is determined to be medium, at step1120, the connection wire 502, at step 1122, is changed to a secondcolor representing medium compatibility. If the compatibility isdetermined to not be high or medium, the compatibility is low and theconnection line 502, at step 1124, is changed to a color representing alow compatibility. The control flow then exits at step 1126.

Exemplary Process of Providing a Graphic Representation of AvailableInputs for a Workflow Step

FIG. 12 illustrates an exemplary process of graphically providingavailable inputs for a workflow step to a user through a workflow userinterface 136. The operational flow diagram of FIG. 12 begins at step1202 and flows directly to step 1204. The operational flow diagram ofFIG. 12 begins at step 1202 and flows directly to step 1204. Theworkflow user interface 136, at step 1004, graphically displays steps ofa workflow. For example, the steps are displayed as boxes or any othershape, picture, icon, or the like. The user interface 136, at step 1206,receives a user's selection of at least one workflow step. For example,a user can user a mouse pointer to click on a box representing aworkflow step thereby selecting it.

The non-selected steps, at step 1208, are analyzed to determine whetherthe non-selected steps can provide an input to the selected step. If theresult of this determination is positive, the non-selected step, at step1210, is graphically changed to indicate that it can provide an input asdiscussed above with reference to FIG. 10 and FIG. 11. The control flowthen exits at step 1212. If the result of this determination isnegative, the user interface 136, at step 1214, notifies the user thatnone of the steps in the workflow can provide the selected step with aninput. Alternatively, the description of FIG. 12 is also applicable whenidentifying which of the non-selected steps can accept the input of theselected step.

Non-Limiting Examples

The foregoing embodiments of the present invention are advantageousbecause they allow the orchestration a workflow in a non-centralizedfashion. In other words, a single program is not continuallyorchestrating the workflow. Another advantage of the present inventionis that a system can orchestrate workflows involving diverse types ofprocesses in a highly distributed environment. For example, job stepsinvolving high processing computer applications, web services, userapplications, and laboratory equipment are able to be integrated andexecute a workflow. The interaction of such different types of processescan be handled automatically by the workflow management system andspecial compatibility layers for the different types of processes arenot needed.

Another advantage of the present invention is that a user is able to usea workflow user interface to manage a workflow. When a workflow step isselected all of the compatible steps that can accept its output orprovide an input are automatically displayed. A user does not have todrag a workflow step over all the other workflow steps to find out whichsteps can accept the output of the selected step or provide an input tothe selected step. The user interface provides a user with visualfeedback or cues that help identify compatible inputs and outputs.

The present invention can be realized in hardware, software, or acombination of hardware and software. A system according to a preferredembodiment of the present invention can be realized in a centralizedfashion in one computer system or in a distributed fashion wheredifferent elements are spread across several interconnected computersystems. Any kind of computer system—or other apparatus adapted forcarrying out the methods described herein—is suited. A typicalcombination of hardware and software could be a general purpose computersystem with a computer program that, when being loaded and executed,controls the computer system such that it carries out the methodsdescribed herein.

Embodiments of the invention can be implemented as a program product foruse with a computer system such as, for example, the computingenvironment shown in FIG. 1 and described herein. The program(s) of theprogram product defines functions of the embodiments (including themethods described herein) and can be contained on a variety of computerreadable media. Illustrative computer readable medium include, but arenot limited to: (i) information permanently stored on non-writablestorage medium (e.g., read-only memory devices within a computer such asCD-ROM disk readable by a CD-ROM drive); (ii) alterable informationstored on writable storage medium (e.g., floppy disks within a diskettedrive or hard-disk drive); or (iii) information conveyed to a computerby a communications medium, such as through a computer or telephonenetwork, including wireless communications. The latter embodimentspecifically includes information downloaded from the Internet and othernetworks. Such computer readable media, when carrying computer-readableinstructions that direct the functions of the present invention,represent embodiments of the present invention.

In general, the routines executed to implement the embodiments of thepresent invention, whether implemented as part of an operating system ora specific application, component, program, module, object or sequenceof instructions may be referred to herein as a “program.” The computerprogram typically is comprised of a multitude of instructions that willbe translated by the native computer into a machine-readable format andhence executable instructions. Also, programs are comprised of variablesand data structures that either reside locally to the program or arefound in memory or on storage devices. In addition, various programsdescribed herein may be identified based upon the application for whichthey are implemented in a specific embodiment of the invention. However,it should be appreciated that any particular program nomenclature thatfollows is used merely for convenience, and thus the invention shouldnot be limited to use solely in any specific application identifiedand/or implied by such nomenclature.

It is also clear that given the typically endless number of manners inwhich computer programs may be organized into routines, procedures,methods, modules, objects, and the like, as well as the various mannersin which program functionality may be allocated among various softwarelayers that are resident within a typical computer (e.g., operatingsystems, libraries, API's, applications, applets, etc.) It should beappreciated that the invention is not limited to the specificorganization and allocation or program functionality described herein.

Each computer system may include, inter alia, one or more computers andat least a computer readable medium allowing a computer to read data,instructions, messages or message packets, and other computer readableinformation from the computer readable medium. The computer readablemedium may include non-volatile memory, such as ROM, Flash memory, Diskdrive memory, CD-ROM, and other permanent storage. Additionally, acomputer medium may include, for example, volatile storage such as RAM,buffers, cache memory, and network circuits. Furthermore, the computerreadable medium may comprise computer readable information in atransitory state medium such as a network link and/or a networkinterface, including a wired network or a wireless network that allow acomputer to read such computer readable information.

Although specific embodiments of the invention have been disclosed,those having ordinary skill in the art will understand that changes canbe made to the specific embodiments without departing from the spiritand scope of the invention. The scope of the invention is not to berestricted, therefore, to the specific embodiments, and it is intendedthat the appended claims cover any and all such applications,modifications, and embodiments within the scope of the presentinvention.

1. A method for graphically presenting compatible workflow steps to auser through a graphical user interface, the method on an informationprocessing system comprising: graphically displaying a plurality ofsteps in a workflow; receiving a user's selection for at least one stepin plurality of steps to denote at least one selected step and at leastone non-selected step; determining if at least one of a set of one ormore output parameters of the selected step is acceptable as an input ofthe non-selected step of the workflow and in response to the set of oneore more output parameters of the selected step being acceptable,graphically changing an appearance of the non-selected step; and a setof one or more output parameters of the non-selected step is acceptableas an input of the selected step and in response to the set of one ormore output parameters of the non-selected step being acceptable,graphically changing an appearance of the non-selected step.
 2. Themethod of claim 1, wherein the graphically changing the appearancecomprises: changing a color of a graphic representing the non-selectedstep; resizing the graphic representing the non-selected step; shadingthe graphic representing the non-selected step; and representing thenon-selected step with a new graphic.
 3. The method of claim 2, whereinthe changing the color comprises: using different colors to indicate atleast one of a type of compatibility and a strength of compatibilitybetween at least one of the output parameter of the selected step and aninput acceptable by the non-selected step and the output parameter ofthe non-selected step and an input acceptable by the selected step. 4.The method of claim 3, wherein the strength of compatibility is based onat least one of: connection precedence; metadata between the selectedstep and the non-selected step; and a number of compatible connectionmatches.
 5. A method for graphically presenting available workflow stepsto a user through a graphical user interface, the method on aninformation processing system comprising: graphically displaying aplurality of available steps for a workflow outside of a workflowworkspace; receiving a user's selection for at least one step in theplurality of available steps; and displaying, in the workflow workspace,the selected step as a current step in the workflow.
 6. The method ofclaim 5, further comprising: receiving a user's selection for at leastone current step in a plurality of current steps in the workflow todenote at least one selected step and at least one non-selected step;and
 7. The method of claim 6, further comprising determining if at leastone of a set of one or more output parameters of the selected step isacceptable as an input of the non-selected step of the workflow and inresponse to the set of one ore more output parameters of the selectedstep being acceptable, graphically changing an appearance of thenon-selected step; and a set of one or more output parameters of thenon-selected step is acceptable as an input of the selected step and inresponse to the set of one or more output parameters of the non-selectedstep being acceptable, graphically changing an appearance of thenon-selected step.
 8. The method of claim 7, wherein the graphicallychanging the appearance comprises: changing a color of a graphicrepresenting the non-selected step; resizing the graphic representingthe non-selected step; shading the graphic representing the non-selectedstep; and representing the non-selected step with a new graphic.
 9. Themethod of claim 8, wherein the changing the color comprises: usingdifferent colors to indicate at least one of a type of compatibility anda strength of compatibility between at least one of the output parameterof the selected step and an input acceptable by the non-selected stepand the output parameter of the non-selected step and an inputacceptable by the selected step.
 10. A user interface for graphicallypresenting compatible workflow steps to a user comprising: at least onewindow for graphically displaying a plurality of steps in a workflow; atleast a first visual indicator for denoting a user's selection of atleast one step in the plurality of steps and non-selection of at leastone remaining step in the plurality of steps; and at least a secondvisual indicator for indicating that at least one of a set of one ormore output parameters of the selected step is acceptable as an input ofthe non-selected step of the workflow, wherein the appearance of thenon-selected step is graphically changed in response to the set of oneore more output parameters of the selected step being acceptable, and aset of one or more output parameters of the non-selected step isacceptable as an input of the selected step, wherein the appearance ofthe non-selected step is graphically changed in response to the set ofone or more output parameters of the non-selected step being acceptable.11. The user interface of claim 10, wherein the at least second visualindicator includes: changing a color of a graphic representing thenon-selected step; resizing the graphic representing the non-selectedstep; shading the graphic representing the non-selected step; andrepresenting the non-selected step with a new graphic.
 12. The userinterface of claim 11, wherein the changing the color comprises: usingdifferent colors to indicate at least one of a type of compatibility anda strength of compatibility between the output parameter of the selectedstep and an input acceptable by the non-selected step.
 13. The userinterface of claim 12, wherein the strength of compatibility is based onat least one of: connection precedence; metadata between the selectedstep and the non-selected step; and a number of compatible connectionmatches.
 14. A computer program product for graphically presentingcompatible workflow steps to a user through a graphical interface, thecomputer program product comprising instructions for: graphicallydisplaying a plurality of steps in a workflow; receiving a user'sselection for at least one step in plurality of steps to denote at leastone selected step and at least one non-selected step; determining if atleast one of a set of one or more output parameters of the selected stepis acceptable as an input of the non-selected step of the workflow andin response to the set of one ore more output parameters of the selectedstep being acceptable, graphically changing an appearance of thenon-selected step; and a set of one or more output parameters of thenon-selected step is acceptable as an input of the selected step and inresponse to the set of one or more output parameters of the non-selectedstep being acceptable, graphically changing an appearance of thenon-selected step.
 15. The computer program product of claim 14, whereinthe instructions for graphically changing the appearance furthercomprise instructions for: changing a color of a graphic representingthe non-selected step; resizing the graphic representing thenon-selected step; shading the graphic representing the non-selectedstep; and representing the non-selected step with a new graphic.
 16. Thecomputer program product of claim 14, wherein the instructions forchanging the color further comprise instructions for: using differentcolors to indicate at least one of a type of compatibility and astrength of compatibility between the output parameter of the selectedstep and an input acceptable by the non-selected step.
 17. The computerprogram product of claim 16, wherein the strength of compatibility isbased on at least one of: connection precedence; metadata between theselected step and the non-selected step; and a number of compatibleconnection matches.
 18. The computer program product of claim 14,further comprising instructions for: determining if the non-selectedstep provides an input parameter incompatible with the selected step.19. The computer program product of claim 18, wherein the non-selectedis identified as providing a compatible input parameter based at leaston the input parameter comprising substantially correspondingcharacteristics as the selected step and matching a required input typeof the selected step.